home *** CD-ROM | disk | FTP | other *** search
-
- To: hguijt@nijmegen.inter.nl.net,
- comp.sys.amiga.programmer@paris.ICS.UCI.EDU
- In-Reply-To: <4l659e$pf2@altrade.nijmegen.inter.nl.net>
- Distribution: World
- Organization: NONE!
- Followup-To: comp.sys.amiga.programmer
-
-
- > +On 18-Apr-96 20:30:54 H.Guijt
- > +<hguijt@nijmegen.inter.nl.net>
- > +wrote in "comp.sys.amiga.programmer"
-
- > Call me Hans ;-)
-
- All right, Hans. :) [ sorry if you got this twice...
- I had some trouble posting this. ]
-
- >> [ snip ]
- >>
- >> *Why* must it be so that opening a requester HAS to "POP FRONT" the
- >> screen it appears on? In particular if the "popping" program
- >> _HASNOFOCUS_ ??
-
- > One problem is that it is not possible to open a requester without it also
- > grabbing the input focus. Only real windows can be opened that way.
-
- Ahhh... haven't tried using req's yet ;)
-
- That could be thought of as a "flaw"
-
-
- >> IMHO: If your program has lost focus (you got a IDCMP_INACTIVEWINDOW)
- >> then
- >> _DON'T_ do ScreenToFront(...) - AT ALL - !
-
- > This is a nasty problem, because the requester always grabs the focus.
- > *If* it has to do that, I also prefer to see it happening.
-
- An idea: POP the screen to front BEFORE attempting to open the requester or
- window. If using requesters (=no possibility to open INACTIVE) that should
- be _required_. (Is this really a _good_ idea ;-) ? )
-
- That way one has some time to react on things happening, instead of just
- having "the rug pulled out" on you.
-
- e.g.
-
- /* about to open a requester */
-
- if (WindowFlags & INACTIVE) /* has the user gone working elsewhere? */
- {
- ScreeToFront(Window.screen); /* get user's attention */
- WindowToFront(Window); /* ?? :Not good IMO */
- Delay(30); /* 1/2 sec, too long/short? */
- }
-
- OpenRequest(...); /* display req */
-
- > Are you perchance running ReqTools? In that case you could try to
- > deactivate the screentofront option in the prefs window.
-
- Yes; and I have all OFF, as it has been for *very* long.
-
- ---
- NOTE: I wrote this before reading John Hendrikx's posting Re:
- "Stealing the input-focus."
-
- His idea is really good, IMO.
- ---
- Kind regards/Mvh
- /Hannu E.K. Nevalainen, Amiga user since '85. /*1996-04-19@22:58CET*/
- >> Inform yourself... http://www.amiga.de/ /*Thor$ver[1642]*/
- ---------------- rexx:random(64 tags) -> "DOS-info_nFiles" ----------------
- | NOTE: |
- | Some over- | Q: How many files can a MSDOS formatted HD store?
- | head has to | A: Theoretically; HD-Size/Cluster-Size.
- | be accounted | --- _/singlepartitionfigures/_ ---
- | for on both | MSDOS: A 850MB disk can store 850M/32K = 27,200 files
- | systems; of | Amiga: 0.5K blocks; 850M/1K = 870,400 files *8-O)
- | diff. causes.| #Amiga:Max512bytes/file.PC:Max 32K/file.#
-
-